package com.edu.dsai.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.edu.dsai.domain.History;
import com.edu.dsai.service.HistoryService;
import com.edu.dsai.mapper.HistoryMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Administrator
* @description 针对表【history】的数据库操作Service实现
* @createDate 2025-10-15 15:52:34
*/
@Service
public class HistoryServiceImpl extends ServiceImpl<HistoryMapper, History>
    implements HistoryService{
    @Resource
    private HistoryMapper historyMapper;
    @Override
    public List<History> getAllData(Object username) {
        return historyMapper.getAllDate(username);
    }
}




